package com.company.cloud.page.modules.mgr.controller.req;

import com.company.cloud.common.bean.BaseParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Set;

@Deprecated
@Getter
@Setter
public class PageComponentSave2UpdateParam extends BaseParam {

    @ApiModelProperty(value = "编号", required = true)
    @NotEmpty(message = "编号不能为空")
    private String code;


    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "分类")
    private String type;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "使用范围")
    private Set<String> scope;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "显示顺序")
    private Integer orders;

    @ApiModelProperty(value = "状态")
    private String state;

}
